package yaner.hotel.manager.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RoomVo {
    private String roomId;
    /**
     * 房间类型id
     */
    private String roomTypeId;

    /**
     * 房间类型名称
     */
    private String roomTypeName;
    /**
     * 房间编号
     */
    private String number;
    /**
     * 房间状态
     */
    private String roomStatus;
    /**
     * 房间长
     */
    private Integer length;
    /**
     * 房间宽
     */
    private Integer width;
    /**
     * 房间高
     */
    private Integer height;
    /**
     * 房间基础设施id
     */
    private String infrastructureId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
